* movemail.c: Remove unused vars
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Feb 2011 18:26:52 +0000 (10:26 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Feb 2011 18:26:52 +0000 (10:26 -0800)
lib-src/ChangeLog
lib-src/movemail.c

index fe63d6b3b8597b8585aef7a89e5a8aaaaa060367..4a5c97f4207cbef22218c96c875a8ae3d1c16261 100644 (file)
@@ -1,6 +1,7 @@
 2011-02-21  Paul Eggert  <eggert@cs.ucla.edu>
 
        * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
+       (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
 
        Declare file-scope functions and variables static if not exported.
        This is more consistent, and is nicer with gcc -Wstrict-prototypes.
index 65675f24b9fd5a15b85e7d4ae2512e37749a8c36..bb93d84d89aed50e87c9974aebbadc46fb71469f 100644 (file)
@@ -672,11 +672,6 @@ xmalloc (unsigned int size)
 #define OK 0
 #define DONE 1
 
-static char *progname;
-static FILE *sfi;
-static FILE *sfo;
-static char ibuffer[BUFSIZ];
-static char obuffer[BUFSIZ];
 static char Errmsg[200];       /* POP errors, at least, can exceed
                                   the original length of 80.  */